package com.fudan.biz.visualize.web;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.fudan.biz.visualize.service.SettingService;
import com.fudan.framework.base.BaseController;


@Controller
@RequestMapping(value = "/biz/setting")
public class SettingController extends BaseController {
    @Autowired
    private SettingService settingService;

    @RequestMapping("/theme")
    public String getTheme(HttpServletRequest request) {
        return settingService.getThemeName(1);
    }
}
